.class public Lcom/estrongs/android/pop/esclasses/j;
.super Landroid/widget/FrameLayout;
.source "ESMediaController.java"


# instance fields
.field private A:Ljava/lang/CharSequence;

.field private B:Landroid/graphics/drawable/Drawable;

.field private C:Landroid/graphics/drawable/Drawable;

.field private D:Landroid/view/View$OnLayoutChangeListener;

.field private E:Landroid/view/View$OnTouchListener;

.field private F:Landroid/os/Handler;

.field private G:Landroid/view/View$OnClickListener;

.field private H:Landroid/widget/SeekBar$OnSeekBarChangeListener;

.field private I:Landroid/view/View$OnClickListener;

.field private J:Landroid/view/View$OnClickListener;

.field private a:Landroid/widget/MediaController$MediaPlayerControl;

.field private b:Landroid/content/Context;

.field private c:Landroid/view/View;

.field private d:Landroid/view/View;

.field private e:Landroid/view/WindowManager;

.field private f:Landroid/view/Window;

.field private g:Landroid/view/View;

.field private h:Landroid/view/WindowManager$LayoutParams;

.field private i:Landroid/widget/ProgressBar;

.field private j:Landroid/widget/TextView;

.field private k:Landroid/widget/TextView;

.field private l:Z

.field private m:Z

.field private n:Z

.field private o:Z

.field private p:Z

.field private q:Landroid/view/View$OnClickListener;

.field private r:Landroid/view/View$OnClickListener;

.field s:Ljava/lang/StringBuilder;

.field t:Ljava/util/Formatter;

.field private u:Landroid/widget/ImageButton;

.field private v:Landroid/widget/ImageButton;

.field private w:Landroid/widget/ImageButton;

.field private x:Landroid/widget/ImageButton;

.field private y:Landroid/widget/ImageButton;

.field private z:Ljava/lang/CharSequence;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 1

    const/4 v0, 0x1

    .line 14
    invoke-direct {p0, p1, v0}, Lcom/estrongs/android/pop/esclasses/j;-><init>(Landroid/content/Context;Z)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Z)V
    .locals 1

    .line 1
    invoke-direct {p0, p1}, Landroid/widget/FrameLayout;-><init>(Landroid/content/Context;)V

    .line 2
    new-instance v0, Lcom/estrongs/android/pop/esclasses/j$a;

    invoke-direct {v0, p0}, Lcom/estrongs/android/pop/esclasses/j$a;-><init>(Lcom/estrongs/android/pop/esclasses/j;)V

    iput-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->D:Landroid/view/View$OnLayoutChangeListener;

    .line 3
    new-instance v0, Lcom/estrongs/android/pop/esclasses/j$b;

    invoke-direct {v0, p0}, Lcom/estrongs/android/pop/esclasses/j$b;-><init>(Lcom/estrongs/android/pop/esclasses/j;)V

    iput-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->E:Landroid/view/View$OnTouchListener;

    .line 4
    new-instance v0, Lcom/estrongs/android/pop/esclasses/j$c;

    invoke-direct {v0, p0}, Lcom/estrongs/android/pop/esclasses/j$c;-><init>(Lcom/estrongs/android/pop/esclasses/j;)V

    iput-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->F:Landroid/os/Handler;

    .line 5
    new-instance v0, Lcom/estrongs/android/pop/esclasses/j$d;

    invoke-direct {v0, p0}, Lcom/estrongs/android/pop/esclasses/j$d;-><init>(Lcom/estrongs/android/pop/esclasses/j;)V

    iput-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->G:Landroid/view/View$OnClickListener;

    .line 6
    new-instance v0, Lcom/estrongs/android/pop/esclasses/j$e;

    invoke-direct {v0, p0}, Lcom/estrongs/android/pop/esclasses/j$e;-><init>(Lcom/estrongs/android/pop/esclasses/j;)V

    iput-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->H:Landroid/widget/SeekBar$OnSeekBarChangeListener;

    .line 7
    new-instance v0, Lcom/estrongs/android/pop/esclasses/j$f;

    invoke-direct {v0, p0}, Lcom/estrongs/android/pop/esclasses/j$f;-><init>(Lcom/estrongs/android/pop/esclasses/j;)V

    iput-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->I:Landroid/view/View$OnClickListener;

    .line 8
    new-instance v0, Lcom/estrongs/android/pop/esclasses/j$g;

    invoke-direct {v0, p0}, Lcom/estrongs/android/pop/esclasses/j$g;-><init>(Lcom/estrongs/android/pop/esclasses/j;)V

    iput-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->J:Landroid/view/View$OnClickListener;

    .line 9
    iput-object p1, p0, Lcom/estrongs/android/pop/esclasses/j;->b:Landroid/content/Context;

    .line 10
    iput-boolean p2, p0, Lcom/estrongs/android/pop/esclasses/j;->n:Z

    .line 11
    :try_start_0
    invoke-direct {p0}, Lcom/estrongs/android/pop/esclasses/j;->f()V

    .line 12
    invoke-direct {p0}, Lcom/estrongs/android/pop/esclasses/j;->e()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p1

    .line 13
    invoke-virtual {p1}, Ljava/lang/Exception;->printStackTrace()V

    :goto_0
    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/pop/esclasses/j;I)Ljava/lang/String;
    .locals 0

    .line 2
    invoke-direct {p0, p1}, Lcom/estrongs/android/pop/esclasses/j;->b(I)Ljava/lang/String;

    move-result-object p0

    return-object p0
.end method

.method private a(Landroid/view/View;)V
    .locals 4

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->b:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v1, 0x7f110608

    .line 5
    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getText(I)Ljava/lang/CharSequence;

    move-result-object v1

    iput-object v1, p0, Lcom/estrongs/android/pop/esclasses/j;->z:Ljava/lang/CharSequence;

    const v1, 0x7f110607

    .line 6
    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getText(I)Ljava/lang/CharSequence;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->A:Ljava/lang/CharSequence;

    const v0, 0x7f0908c0

    .line 7
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageButton;

    iput-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->u:Landroid/widget/ImageButton;

    if-eqz v0, :cond_0

    .line 8
    invoke-virtual {v0}, Landroid/widget/ImageButton;->requestFocus()Z

    .line 9
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->u:Landroid/widget/ImageButton;

    iget-object v1, p0, Lcom/estrongs/android/pop/esclasses/j;->G:Landroid/view/View$OnClickListener;

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    :cond_0
    const v0, 0x7f090420

    .line 10
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageButton;

    iput-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->v:Landroid/widget/ImageButton;

    const/4 v1, 0x0

    const/16 v2, 0x8

    if-eqz v0, :cond_2

    .line 11
    iget-object v3, p0, Lcom/estrongs/android/pop/esclasses/j;->J:Landroid/view/View$OnClickListener;

    invoke-virtual {v0, v3}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 12
    iget-boolean v0, p0, Lcom/estrongs/android/pop/esclasses/j;->o:Z

    if-nez v0, :cond_2

    .line 13
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->v:Landroid/widget/ImageButton;

    iget-boolean v3, p0, Lcom/estrongs/android/pop/esclasses/j;->n:Z

    if-eqz v3, :cond_1

    const/4 v3, 0x0

    goto :goto_0

    :cond_1
    const/16 v3, 0x8

    :goto_0
    invoke-virtual {v0, v3}, Landroid/widget/ImageButton;->setVisibility(I)V

    :cond_2
    const v0, 0x7f0909af

    .line 14
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageButton;

    iput-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->w:Landroid/widget/ImageButton;

    if-eqz v0, :cond_4

    .line 15
    iget-object v3, p0, Lcom/estrongs/android/pop/esclasses/j;->I:Landroid/view/View$OnClickListener;

    invoke-virtual {v0, v3}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 16
    iget-boolean v0, p0, Lcom/estrongs/android/pop/esclasses/j;->o:Z

    if-nez v0, :cond_4

    .line 17
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->w:Landroid/widget/ImageButton;

    iget-boolean v3, p0, Lcom/estrongs/android/pop/esclasses/j;->n:Z

    if-eqz v3, :cond_3

    goto :goto_1

    :cond_3
    const/16 v1, 0x8

    :goto_1
    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setVisibility(I)V

    :cond_4
    const v0, 0x7f090849

    .line 18
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageButton;

    iput-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->x:Landroid/widget/ImageButton;

    if-eqz v0, :cond_5

    .line 19
    iget-boolean v1, p0, Lcom/estrongs/android/pop/esclasses/j;->o:Z

    if-nez v1, :cond_5

    iget-boolean v1, p0, Lcom/estrongs/android/pop/esclasses/j;->p:Z

    if-nez v1, :cond_5

    .line 20
    invoke-virtual {v0, v2}, Landroid/widget/ImageButton;->setVisibility(I)V

    :cond_5
    const v0, 0x7f09091e

    .line 21
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageButton;

    iput-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->y:Landroid/widget/ImageButton;

    if-eqz v0, :cond_6

    .line 22
    iget-boolean v1, p0, Lcom/estrongs/android/pop/esclasses/j;->o:Z

    if-nez v1, :cond_6

    iget-boolean v1, p0, Lcom/estrongs/android/pop/esclasses/j;->p:Z

    if-nez v1, :cond_6

    .line 23
    invoke-virtual {v0, v2}, Landroid/widget/ImageButton;->setVisibility(I)V

    :cond_6
    const v0, 0x7f090777

    .line 24
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/SeekBar;

    iput-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->i:Landroid/widget/ProgressBar;

    if-eqz v0, :cond_8

    .line 25
    instance-of v1, v0, Landroid/widget/SeekBar;

    if-eqz v1, :cond_7

    .line 26
    check-cast v0, Landroid/widget/SeekBar;

    .line 27
    iget-object v1, p0, Lcom/estrongs/android/pop/esclasses/j;->H:Landroid/widget/SeekBar$OnSeekBarChangeListener;

    invoke-virtual {v0, v1}, Landroid/widget/SeekBar;->setOnSeekBarChangeListener(Landroid/widget/SeekBar$OnSeekBarChangeListener;)V

    .line 28
    :cond_7
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->i:Landroid/widget/ProgressBar;

    const/16 v1, 0x3e8

    invoke-virtual {v0, v1}, Landroid/widget/ProgressBar;->setMax(I)V

    :cond_8
    const v0, 0x7f090b94

    .line 29
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->j:Landroid/widget/TextView;

    const v0, 0x7f090b97

    .line 30
    invoke-virtual {p1, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/TextView;

    iput-object p1, p0, Lcom/estrongs/android/pop/esclasses/j;->k:Landroid/widget/TextView;

    .line 31
    new-instance p1, Ljava/lang/StringBuilder;

    invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V

    iput-object p1, p0, Lcom/estrongs/android/pop/esclasses/j;->s:Ljava/lang/StringBuilder;

    .line 32
    new-instance p1, Ljava/util/Formatter;

    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->s:Ljava/lang/StringBuilder;

    invoke-static {}, Ljava/util/Locale;->getDefault()Ljava/util/Locale;

    move-result-object v1

    invoke-direct {p1, v0, v1}, Ljava/util/Formatter;-><init>(Ljava/lang/Appendable;Ljava/util/Locale;)V

    iput-object p1, p0, Lcom/estrongs/android/pop/esclasses/j;->t:Ljava/util/Formatter;

    .line 33
    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object p1

    const v0, 0x7f0809bd

    const v1, 0x7f0600d4

    invoke-virtual {p1, v0, v1}, Lcom/estrongs/android/ui/theme/b;->b(II)Landroid/graphics/drawable/Drawable;

    move-result-object p1

    .line 34
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->w:Landroid/widget/ImageButton;

    invoke-virtual {v0, p1}, Landroid/widget/ImageButton;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 35
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->v:Landroid/widget/ImageButton;

    invoke-virtual {v0, p1}, Landroid/widget/ImageButton;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 36
    iget-object p1, p0, Lcom/estrongs/android/pop/esclasses/j;->w:Landroid/widget/ImageButton;

    const/high16 v0, 0x43340000    # 180.0f

    invoke-static {p1, v0}, Landroidx/core/view/ViewCompat;->setRotation(Landroid/view/View;F)V

    .line 37
    invoke-direct {p0}, Lcom/estrongs/android/pop/esclasses/j;->g()V

    .line 38
    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object p1

    const v0, 0x7f0807e3

    const v1, 0x7f060320

    invoke-virtual {p1, v0, v1}, Lcom/estrongs/android/ui/theme/b;->b(II)Landroid/graphics/drawable/Drawable;

    move-result-object p1

    iput-object p1, p0, Lcom/estrongs/android/pop/esclasses/j;->B:Landroid/graphics/drawable/Drawable;

    .line 39
    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object p1

    const v0, 0x7f0807e4

    invoke-virtual {p1, v0, v1}, Lcom/estrongs/android/ui/theme/b;->b(II)Landroid/graphics/drawable/Drawable;

    move-result-object p1

    iput-object p1, p0, Lcom/estrongs/android/pop/esclasses/j;->C:Landroid/graphics/drawable/Drawable;

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/pop/esclasses/j;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/pop/esclasses/j;->i()V

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/pop/esclasses/j;Z)Z
    .locals 0

    .line 3
    iput-boolean p1, p0, Lcom/estrongs/android/pop/esclasses/j;->m:Z

    return p1
.end method

.method private b(I)Ljava/lang/String;
    .locals 7

    .line 6
    div-int/lit16 p1, p1, 0x3e8

    .line 7
    rem-int/lit8 v0, p1, 0x3c

    .line 8
    div-int/lit8 v1, p1, 0x3c

    rem-int/lit8 v1, v1, 0x3c

    .line 9
    div-int/lit16 p1, p1, 0xe10

    .line 10
    iget-object v2, p0, Lcom/estrongs/android/pop/esclasses/j;->s:Ljava/lang/StringBuilder;

    const/4 v3, 0x0

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->setLength(I)V

    const/4 v2, 0x1

    const/4 v4, 0x2

    if-lez p1, :cond_0

    .line 11
    iget-object v5, p0, Lcom/estrongs/android/pop/esclasses/j;->t:Ljava/util/Formatter;

    const/4 v6, 0x3

    new-array v6, v6, [Ljava/lang/Object;

    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p1

    aput-object p1, v6, v3

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p1

    aput-object p1, v6, v2

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p1

    aput-object p1, v6, v4

    const-string p1, "%d:%02d:%02d"

    invoke-virtual {v5, p1, v6}, Ljava/util/Formatter;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/util/Formatter;

    move-result-object p1

    invoke-virtual {p1}, Ljava/util/Formatter;->toString()Ljava/lang/String;

    move-result-object p1

    return-object p1

    .line 12
    :cond_0
    iget-object p1, p0, Lcom/estrongs/android/pop/esclasses/j;->t:Ljava/util/Formatter;

    new-array v4, v4, [Ljava/lang/Object;

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    aput-object v1, v4, v3

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    aput-object v0, v4, v2

    const-string v0, "%02d:%02d"

    invoke-virtual {p1, v0, v4}, Ljava/util/Formatter;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/util/Formatter;

    move-result-object p1

    invoke-virtual {p1}, Ljava/util/Formatter;->toString()Ljava/lang/String;

    move-result-object p1

    return-object p1
.end method

.method static synthetic b(Lcom/estrongs/android/pop/esclasses/j;)Z
    .locals 0

    .line 1
    iget-boolean p0, p0, Lcom/estrongs/android/pop/esclasses/j;->l:Z

    return p0
.end method

.method static synthetic c(Lcom/estrongs/android/pop/esclasses/j;)Landroid/widget/TextView;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/esclasses/j;->k:Landroid/widget/TextView;

    return-object p0
.end method

.method private c()V
    .locals 2

    .line 2
    :try_start_0
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->u:Landroid/widget/ImageButton;

    const/4 v1, 0x0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->a:Landroid/widget/MediaController$MediaPlayerControl;

    invoke-interface {v0}, Landroid/widget/MediaController$MediaPlayerControl;->canPause()Z

    move-result v0

    if-nez v0, :cond_0

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->u:Landroid/widget/ImageButton;

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setEnabled(Z)V

    .line 4
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->w:Landroid/widget/ImageButton;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->a:Landroid/widget/MediaController$MediaPlayerControl;

    invoke-interface {v0}, Landroid/widget/MediaController$MediaPlayerControl;->canSeekBackward()Z

    move-result v0

    if-nez v0, :cond_1

    .line 5
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->w:Landroid/widget/ImageButton;

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setEnabled(Z)V

    .line 6
    :cond_1
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->v:Landroid/widget/ImageButton;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->a:Landroid/widget/MediaController$MediaPlayerControl;

    invoke-interface {v0}, Landroid/widget/MediaController$MediaPlayerControl;->canSeekForward()Z

    move-result v0

    if-nez v0, :cond_2

    .line 7
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->v:Landroid/widget/ImageButton;

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setEnabled(Z)V
    :try_end_0
    .catch Ljava/lang/IncompatibleClassChangeError; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    :cond_2
    return-void
.end method

.method private d()V
    .locals 1

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->a:Landroid/widget/MediaController$MediaPlayerControl;

    invoke-interface {v0}, Landroid/widget/MediaController$MediaPlayerControl;->isPlaying()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->a:Landroid/widget/MediaController$MediaPlayerControl;

    invoke-interface {v0}, Landroid/widget/MediaController$MediaPlayerControl;->pause()V

    goto :goto_0

    .line 4
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->a:Landroid/widget/MediaController$MediaPlayerControl;

    invoke-interface {v0}, Landroid/widget/MediaController$MediaPlayerControl;->start()V

    .line 5
    :goto_0
    invoke-direct {p0}, Lcom/estrongs/android/pop/esclasses/j;->j()V

    return-void
.end method

.method static synthetic d(Lcom/estrongs/android/pop/esclasses/j;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/pop/esclasses/j;->j()V

    return-void
.end method

.method static synthetic e(Lcom/estrongs/android/pop/esclasses/j;)Landroid/view/View;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/esclasses/j;->g:Landroid/view/View;

    return-object p0
.end method

.method private e()V
    .locals 3

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->b:Landroid/content/Context;

    const-string v1, "window"

    invoke-virtual {v0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/WindowManager;

    iput-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->e:Landroid/view/WindowManager;

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->b:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    invoke-static {v0}, Lcom/estrongs/android/pop/esclasses/k;->b(Landroid/content/Context;)Landroid/view/Window;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->f:Landroid/view/Window;

    .line 4
    iget-object v1, p0, Lcom/estrongs/android/pop/esclasses/j;->e:Landroid/view/WindowManager;

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2, v2}, Landroid/view/Window;->setWindowManager(Landroid/view/WindowManager;Landroid/os/IBinder;Ljava/lang/String;)V

    .line 5
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->f:Landroid/view/Window;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/view/Window;->requestFeature(I)Z

    .line 6
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->f:Landroid/view/Window;

    invoke-virtual {v0}, Landroid/view/Window;->getDecorView()Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->g:Landroid/view/View;

    .line 7
    iget-object v2, p0, Lcom/estrongs/android/pop/esclasses/j;->E:Landroid/view/View$OnTouchListener;

    invoke-virtual {v0, v2}, Landroid/view/View;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    .line 8
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->f:Landroid/view/Window;

    invoke-virtual {v0, p0}, Landroid/view/Window;->setContentView(Landroid/view/View;)V

    .line 9
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->f:Landroid/view/Window;

    const v2, 0x106000d

    invoke-virtual {v0, v2}, Landroid/view/Window;->setBackgroundDrawableResource(I)V

    .line 10
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->f:Landroid/view/Window;

    const/4 v2, 0x3

    invoke-virtual {v0, v2}, Landroid/view/Window;->setVolumeControlStream(I)V

    .line 11
    invoke-virtual {p0, v1}, Landroid/widget/FrameLayout;->setFocusable(Z)V

    .line 12
    invoke-virtual {p0, v1}, Landroid/widget/FrameLayout;->setFocusableInTouchMode(Z)V

    const/high16 v0, 0x40000

    .line 13
    invoke-virtual {p0, v0}, Landroid/widget/FrameLayout;->setDescendantFocusability(I)V

    .line 14
    invoke-virtual {p0}, Landroid/widget/FrameLayout;->requestFocus()Z

    return-void
.end method

.method static synthetic f(Lcom/estrongs/android/pop/esclasses/j;)Landroid/view/WindowManager$LayoutParams;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/esclasses/j;->h:Landroid/view/WindowManager$LayoutParams;

    return-object p0
.end method

.method private f()V
    .locals 4

    .line 2
    new-instance v0, Landroid/view/WindowManager$LayoutParams;

    invoke-direct {v0}, Landroid/view/WindowManager$LayoutParams;-><init>()V

    iput-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->h:Landroid/view/WindowManager$LayoutParams;

    const/16 v1, 0x33

    .line 3
    iput v1, v0, Landroid/view/WindowManager$LayoutParams;->gravity:I

    const/4 v1, -0x2

    .line 4
    iput v1, v0, Landroid/view/WindowManager$LayoutParams;->height:I

    const/4 v1, 0x0

    .line 5
    iput v1, v0, Landroid/view/WindowManager$LayoutParams;->x:I

    const/4 v2, -0x3

    .line 6
    iput v2, v0, Landroid/view/WindowManager$LayoutParams;->format:I

    const/16 v2, 0x3e8

    .line 7
    iput v2, v0, Landroid/view/WindowManager$LayoutParams;->type:I

    .line 8
    iget v2, v0, Landroid/view/WindowManager$LayoutParams;->flags:I

    const v3, 0x820020

    or-int/2addr v2, v3

    iput v2, v0, Landroid/view/WindowManager$LayoutParams;->flags:I

    const/4 v2, 0x0

    .line 9
    iput-object v2, v0, Landroid/view/WindowManager$LayoutParams;->token:Landroid/os/IBinder;

    .line 10
    iput v1, v0, Landroid/view/WindowManager$LayoutParams;->windowAnimations:I

    return-void
.end method

.method static synthetic g(Lcom/estrongs/android/pop/esclasses/j;)Landroid/view/WindowManager;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/esclasses/j;->e:Landroid/view/WindowManager;

    return-object p0
.end method

.method private g()V
    .locals 4

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->x:Landroid/widget/ImageButton;

    const/4 v1, 0x1

    const/4 v2, 0x0

    if-eqz v0, :cond_1

    .line 3
    iget-object v3, p0, Lcom/estrongs/android/pop/esclasses/j;->q:Landroid/view/View$OnClickListener;

    invoke-virtual {v0, v3}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->x:Landroid/widget/ImageButton;

    iget-object v3, p0, Lcom/estrongs/android/pop/esclasses/j;->q:Landroid/view/View$OnClickListener;

    if-eqz v3, :cond_0

    const/4 v3, 0x1

    goto :goto_0

    :cond_0
    const/4 v3, 0x0

    :goto_0
    invoke-virtual {v0, v3}, Landroid/widget/ImageButton;->setEnabled(Z)V

    .line 5
    :cond_1
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->y:Landroid/widget/ImageButton;

    if-eqz v0, :cond_3

    .line 6
    iget-object v3, p0, Lcom/estrongs/android/pop/esclasses/j;->r:Landroid/view/View$OnClickListener;

    invoke-virtual {v0, v3}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 7
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->y:Landroid/widget/ImageButton;

    iget-object v3, p0, Lcom/estrongs/android/pop/esclasses/j;->r:Landroid/view/View$OnClickListener;

    if-eqz v3, :cond_2

    goto :goto_1

    :cond_2
    const/4 v1, 0x0

    :goto_1
    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setEnabled(Z)V

    :cond_3
    return-void
.end method

.method private h()I
    .locals 7

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->a:Landroid/widget/MediaController$MediaPlayerControl;

    if-eqz v0, :cond_5

    iget-boolean v1, p0, Lcom/estrongs/android/pop/esclasses/j;->m:Z

    if-eqz v1, :cond_0

    goto :goto_0

    .line 3
    :cond_0
    invoke-interface {v0}, Landroid/widget/MediaController$MediaPlayerControl;->getCurrentPosition()I

    move-result v0

    .line 4
    iget-object v1, p0, Lcom/estrongs/android/pop/esclasses/j;->a:Landroid/widget/MediaController$MediaPlayerControl;

    invoke-interface {v1}, Landroid/widget/MediaController$MediaPlayerControl;->getDuration()I

    move-result v1

    .line 5
    iget-object v2, p0, Lcom/estrongs/android/pop/esclasses/j;->i:Landroid/widget/ProgressBar;

    if-eqz v2, :cond_2

    if-lez v1, :cond_1

    const-wide/16 v3, 0x3e8

    int-to-long v5, v0

    mul-long v5, v5, v3

    int-to-long v3, v1

    .line 6
    div-long/2addr v5, v3

    long-to-int v3, v5

    .line 7
    invoke-virtual {v2, v3}, Landroid/widget/ProgressBar;->setProgress(I)V

    .line 8
    :cond_1
    iget-object v2, p0, Lcom/estrongs/android/pop/esclasses/j;->a:Landroid/widget/MediaController$MediaPlayerControl;

    invoke-interface {v2}, Landroid/widget/MediaController$MediaPlayerControl;->getBufferPercentage()I

    move-result v2

    .line 9
    iget-object v3, p0, Lcom/estrongs/android/pop/esclasses/j;->i:Landroid/widget/ProgressBar;

    mul-int/lit8 v2, v2, 0xa

    invoke-virtual {v3, v2}, Landroid/widget/ProgressBar;->setSecondaryProgress(I)V

    .line 10
    :cond_2
    iget-object v2, p0, Lcom/estrongs/android/pop/esclasses/j;->j:Landroid/widget/TextView;

    if-eqz v2, :cond_3

    .line 11
    invoke-direct {p0, v1}, Lcom/estrongs/android/pop/esclasses/j;->b(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v2, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 12
    :cond_3
    iget-object v1, p0, Lcom/estrongs/android/pop/esclasses/j;->k:Landroid/widget/TextView;

    if-eqz v1, :cond_4

    .line 13
    invoke-direct {p0, v0}, Lcom/estrongs/android/pop/esclasses/j;->b(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_4
    return v0

    :cond_5
    :goto_0
    const/4 v0, 0x0

    return v0
.end method

.method static synthetic h(Lcom/estrongs/android/pop/esclasses/j;)I
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/pop/esclasses/j;->h()I

    move-result p0

    return p0
.end method

.method private i()V
    .locals 7

    const/4 v0, 0x2

    new-array v1, v0, [I

    .line 2
    iget-object v2, p0, Lcom/estrongs/android/pop/esclasses/j;->c:Landroid/view/View;

    invoke-virtual {v2, v1}, Landroid/view/View;->getLocationOnScreen([I)V

    .line 3
    iget-object v2, p0, Lcom/estrongs/android/pop/esclasses/j;->g:Landroid/view/View;

    iget-object v3, p0, Lcom/estrongs/android/pop/esclasses/j;->c:Landroid/view/View;

    invoke-virtual {v3}, Landroid/view/View;->getWidth()I

    move-result v3

    const/high16 v4, -0x80000000

    invoke-static {v3, v4}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result v3

    iget-object v5, p0, Lcom/estrongs/android/pop/esclasses/j;->c:Landroid/view/View;

    .line 4
    invoke-virtual {v5}, Landroid/view/View;->getHeight()I

    move-result v5

    invoke-static {v5, v4}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I

    move-result v4

    .line 5
    invoke-virtual {v2, v3, v4}, Landroid/view/View;->measure(II)V

    .line 6
    iget-object v2, p0, Lcom/estrongs/android/pop/esclasses/j;->b:Landroid/content/Context;

    const v3, 0x7f0700f6

    invoke-static {v2, v3}, Lcom/estrongs/android/pop/utils/t;->a(Landroid/content/Context;I)I

    move-result v2

    .line 7
    iget-object v3, p0, Lcom/estrongs/android/pop/esclasses/j;->h:Landroid/view/WindowManager$LayoutParams;

    .line 8
    iget-object v4, p0, Lcom/estrongs/android/pop/esclasses/j;->c:Landroid/view/View;

    invoke-virtual {v4}, Landroid/view/View;->getWidth()I

    move-result v4

    iput v4, v3, Landroid/view/WindowManager$LayoutParams;->width:I

    .line 9
    iget-object v4, p0, Lcom/estrongs/android/pop/esclasses/j;->c:Landroid/view/View;

    invoke-virtual {v4}, Landroid/view/View;->getHeight()I

    move-result v4

    sub-int/2addr v4, v2

    iput v4, v3, Landroid/view/WindowManager$LayoutParams;->height:I

    const/4 v4, 0x0

    .line 10
    aget v4, v1, v4

    iget-object v5, p0, Lcom/estrongs/android/pop/esclasses/j;->c:Landroid/view/View;

    invoke-virtual {v5}, Landroid/view/View;->getWidth()I

    move-result v5

    iget v6, v3, Landroid/view/WindowManager$LayoutParams;->width:I

    sub-int/2addr v5, v6

    div-int/2addr v5, v0

    add-int/2addr v4, v5

    iput v4, v3, Landroid/view/WindowManager$LayoutParams;->x:I

    const/4 v0, 0x1

    .line 11
    aget v0, v1, v0

    iget-object v1, p0, Lcom/estrongs/android/pop/esclasses/j;->c:Landroid/view/View;

    invoke-virtual {v1}, Landroid/view/View;->getHeight()I

    move-result v1

    add-int/2addr v0, v1

    iget-object v1, p0, Lcom/estrongs/android/pop/esclasses/j;->g:Landroid/view/View;

    invoke-virtual {v1}, Landroid/view/View;->getMeasuredHeight()I

    move-result v1

    sub-int/2addr v0, v1

    add-int/2addr v0, v2

    iput v0, v3, Landroid/view/WindowManager$LayoutParams;->y:I

    return-void
.end method

.method static synthetic i(Lcom/estrongs/android/pop/esclasses/j;)Z
    .locals 0

    .line 1
    iget-boolean p0, p0, Lcom/estrongs/android/pop/esclasses/j;->m:Z

    return p0
.end method

.method static synthetic j(Lcom/estrongs/android/pop/esclasses/j;)Landroid/widget/MediaController$MediaPlayerControl;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/esclasses/j;->a:Landroid/widget/MediaController$MediaPlayerControl;

    return-object p0
.end method

.method private j()V
    .locals 2

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->d:Landroid/view/View;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->u:Landroid/widget/ImageButton;

    if-nez v0, :cond_0

    goto :goto_0

    .line 3
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->a:Landroid/widget/MediaController$MediaPlayerControl;

    invoke-interface {v0}, Landroid/widget/MediaController$MediaPlayerControl;->isPlaying()Z

    move-result v0

    if-eqz v0, :cond_1

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->u:Landroid/widget/ImageButton;

    iget-object v1, p0, Lcom/estrongs/android/pop/esclasses/j;->B:Landroid/graphics/drawable/Drawable;

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 5
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->u:Landroid/widget/ImageButton;

    iget-object v1, p0, Lcom/estrongs/android/pop/esclasses/j;->A:Ljava/lang/CharSequence;

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setContentDescription(Ljava/lang/CharSequence;)V

    goto :goto_0

    .line 6
    :cond_1
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->u:Landroid/widget/ImageButton;

    iget-object v1, p0, Lcom/estrongs/android/pop/esclasses/j;->C:Landroid/graphics/drawable/Drawable;

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 7
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->u:Landroid/widget/ImageButton;

    iget-object v1, p0, Lcom/estrongs/android/pop/esclasses/j;->z:Ljava/lang/CharSequence;

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setContentDescription(Ljava/lang/CharSequence;)V

    :cond_2
    :goto_0
    return-void
.end method

.method static synthetic k(Lcom/estrongs/android/pop/esclasses/j;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/pop/esclasses/j;->d()V

    return-void
.end method

.method static synthetic l(Lcom/estrongs/android/pop/esclasses/j;)Landroid/os/Handler;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/esclasses/j;->F:Landroid/os/Handler;

    return-object p0
.end method


# virtual methods
.method public a()V
    .locals 2

    .line 55
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->c:Landroid/view/View;

    if-nez v0, :cond_0

    return-void

    .line 56
    :cond_0
    iget-boolean v0, p0, Lcom/estrongs/android/pop/esclasses/j;->l:Z

    if-eqz v0, :cond_1

    .line 57
    :try_start_0
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->F:Landroid/os/Handler;

    const/4 v1, 0x2

    invoke-virtual {v0, v1}, Landroid/os/Handler;->removeMessages(I)V

    .line 58
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->e:Landroid/view/WindowManager;

    iget-object v1, p0, Lcom/estrongs/android/pop/esclasses/j;->g:Landroid/view/View;

    invoke-interface {v0, v1}, Landroid/view/WindowManager;->removeView(Landroid/view/View;)V
    :try_end_0
    .catch Ljava/lang/IllegalArgumentException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    const-string v0, "MediaController"

    const-string v1, "already removed"

    .line 59
    invoke-static {v0, v1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I

    :goto_0
    const/4 v0, 0x0

    .line 60
    iput-boolean v0, p0, Lcom/estrongs/android/pop/esclasses/j;->l:Z

    :cond_1
    return-void
.end method

.method public a(I)V
    .locals 4

    .line 40
    iget-boolean v0, p0, Lcom/estrongs/android/pop/esclasses/j;->l:Z

    const/4 v1, 0x1

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->c:Landroid/view/View;

    if-eqz v0, :cond_2

    .line 41
    invoke-direct {p0}, Lcom/estrongs/android/pop/esclasses/j;->h()I

    .line 42
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->u:Landroid/widget/ImageButton;

    if-eqz v0, :cond_0

    .line 43
    invoke-virtual {v0}, Landroid/widget/ImageButton;->requestFocus()Z

    .line 44
    :cond_0
    invoke-direct {p0}, Lcom/estrongs/android/pop/esclasses/j;->c()V

    .line 45
    invoke-direct {p0}, Lcom/estrongs/android/pop/esclasses/j;->i()V

    .line 46
    :try_start_0
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->g:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->getParent()Landroid/view/ViewParent;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 47
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->e:Landroid/view/WindowManager;

    iget-object v2, p0, Lcom/estrongs/android/pop/esclasses/j;->g:Landroid/view/View;

    invoke-interface {v0, v2}, Landroid/view/WindowManager;->removeView(Landroid/view/View;)V

    .line 48
    :cond_1
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->e:Landroid/view/WindowManager;

    iget-object v2, p0, Lcom/estrongs/android/pop/esclasses/j;->g:Landroid/view/View;

    iget-object v3, p0, Lcom/estrongs/android/pop/esclasses/j;->h:Landroid/view/WindowManager$LayoutParams;

    invoke-interface {v0, v2, v3}, Landroid/view/WindowManager;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 49
    iput-boolean v1, p0, Lcom/estrongs/android/pop/esclasses/j;->l:Z
    :try_end_0
    .catch Ljava/lang/RuntimeException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    nop

    .line 50
    :cond_2
    :goto_0
    invoke-direct {p0}, Lcom/estrongs/android/pop/esclasses/j;->j()V

    .line 51
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->F:Landroid/os/Handler;

    const/4 v2, 0x2

    invoke-virtual {v0, v2}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    .line 52
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->F:Landroid/os/Handler;

    invoke-virtual {v0, v1}, Landroid/os/Handler;->obtainMessage(I)Landroid/os/Message;

    move-result-object v0

    if-eqz p1, :cond_3

    .line 53
    iget-object v2, p0, Lcom/estrongs/android/pop/esclasses/j;->F:Landroid/os/Handler;

    invoke-virtual {v2, v1}, Landroid/os/Handler;->removeMessages(I)V

    .line 54
    iget-object v1, p0, Lcom/estrongs/android/pop/esclasses/j;->F:Landroid/os/Handler;

    int-to-long v2, p1

    invoke-virtual {v1, v0, v2, v3}, Landroid/os/Handler;->sendMessageDelayed(Landroid/os/Message;J)Z

    :cond_3
    return-void
.end method

.method protected b()Landroid/view/View;
    .locals 3

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->b:Landroid/content/Context;

    const-string v1, "layout_inflater"

    invoke-virtual {v0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/LayoutInflater;

    const v1, 0x7f0c015c

    const/4 v2, 0x0

    .line 3
    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->d:Landroid/view/View;

    .line 4
    invoke-direct {p0, v0}, Lcom/estrongs/android/pop/esclasses/j;->a(Landroid/view/View;)V

    .line 5
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->d:Landroid/view/View;

    return-object v0
.end method

.method public dispatchKeyEvent(Landroid/view/KeyEvent;)Z
    .locals 5

    .line 1
    invoke-virtual {p1}, Landroid/view/KeyEvent;->getKeyCode()I

    move-result v0

    .line 2
    invoke-virtual {p1}, Landroid/view/KeyEvent;->getRepeatCount()I

    move-result v1

    const/4 v2, 0x1

    if-nez v1, :cond_0

    .line 3
    invoke-virtual {p1}, Landroid/view/KeyEvent;->getAction()I

    move-result v1

    if-nez v1, :cond_0

    const/4 v1, 0x1

    goto :goto_0

    :cond_0
    const/4 v1, 0x0

    :goto_0
    const/16 v3, 0x4f

    const/16 v4, 0xbb8

    if-eq v0, v3, :cond_c

    const/16 v3, 0x55

    if-eq v0, v3, :cond_c

    const/16 v3, 0x3e

    if-ne v0, v3, :cond_1

    goto :goto_4

    :cond_1
    const/16 v3, 0x7e

    if-ne v0, v3, :cond_3

    if-eqz v1, :cond_2

    .line 4
    iget-object p1, p0, Lcom/estrongs/android/pop/esclasses/j;->a:Landroid/widget/MediaController$MediaPlayerControl;

    invoke-interface {p1}, Landroid/widget/MediaController$MediaPlayerControl;->isPlaying()Z

    move-result p1

    if-nez p1, :cond_2

    .line 5
    iget-object p1, p0, Lcom/estrongs/android/pop/esclasses/j;->a:Landroid/widget/MediaController$MediaPlayerControl;

    invoke-interface {p1}, Landroid/widget/MediaController$MediaPlayerControl;->start()V

    .line 6
    invoke-direct {p0}, Lcom/estrongs/android/pop/esclasses/j;->j()V

    .line 7
    invoke-virtual {p0, v4}, Lcom/estrongs/android/pop/esclasses/j;->a(I)V

    :cond_2
    return v2

    :cond_3
    const/16 v3, 0x56

    if-eq v0, v3, :cond_a

    const/16 v3, 0x7f

    if-ne v0, v3, :cond_4

    goto :goto_3

    :cond_4
    const/16 v3, 0x19

    if-eq v0, v3, :cond_9

    const/16 v3, 0x18

    if-eq v0, v3, :cond_9

    const/16 v3, 0xa4

    if-eq v0, v3, :cond_9

    const/16 v3, 0x1b

    if-ne v0, v3, :cond_5

    goto :goto_2

    :cond_5
    const/4 v3, 0x4

    if-eq v0, v3, :cond_7

    const/16 v3, 0x52

    if-ne v0, v3, :cond_6

    goto :goto_1

    .line 8
    :cond_6
    invoke-virtual {p0, v4}, Lcom/estrongs/android/pop/esclasses/j;->a(I)V

    .line 9
    invoke-super {p0, p1}, Landroid/widget/FrameLayout;->dispatchKeyEvent(Landroid/view/KeyEvent;)Z

    move-result p1

    return p1

    :cond_7
    :goto_1
    if-eqz v1, :cond_8

    .line 10
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/j;->a()V

    :cond_8
    return v2

    .line 11
    :cond_9
    :goto_2
    invoke-super {p0, p1}, Landroid/widget/FrameLayout;->dispatchKeyEvent(Landroid/view/KeyEvent;)Z

    move-result p1

    return p1

    :cond_a
    :goto_3
    if-eqz v1, :cond_b

    .line 12
    iget-object p1, p0, Lcom/estrongs/android/pop/esclasses/j;->a:Landroid/widget/MediaController$MediaPlayerControl;

    invoke-interface {p1}, Landroid/widget/MediaController$MediaPlayerControl;->isPlaying()Z

    move-result p1

    if-eqz p1, :cond_b

    .line 13
    iget-object p1, p0, Lcom/estrongs/android/pop/esclasses/j;->a:Landroid/widget/MediaController$MediaPlayerControl;

    invoke-interface {p1}, Landroid/widget/MediaController$MediaPlayerControl;->pause()V

    .line 14
    invoke-direct {p0}, Lcom/estrongs/android/pop/esclasses/j;->j()V

    .line 15
    invoke-virtual {p0, v4}, Lcom/estrongs/android/pop/esclasses/j;->a(I)V

    :cond_b
    return v2

    :cond_c
    :goto_4
    if-eqz v1, :cond_d

    .line 16
    invoke-direct {p0}, Lcom/estrongs/android/pop/esclasses/j;->d()V

    .line 17
    invoke-virtual {p0, v4}, Lcom/estrongs/android/pop/esclasses/j;->a(I)V

    .line 18
    iget-object p1, p0, Lcom/estrongs/android/pop/esclasses/j;->u:Landroid/widget/ImageButton;

    if-eqz p1, :cond_d

    .line 19
    invoke-virtual {p1}, Landroid/widget/ImageButton;->requestFocus()Z

    :cond_d
    return v2
.end method

.method public onFinishInflate()V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->d:Landroid/view/View;

    if-eqz v0, :cond_0

    .line 2
    invoke-direct {p0, v0}, Lcom/estrongs/android/pop/esclasses/j;->a(Landroid/view/View;)V

    :cond_0
    return-void
.end method

.method public onInitializeAccessibilityEvent(Landroid/view/accessibility/AccessibilityEvent;)V
    .locals 1

    .line 1
    invoke-super {p0, p1}, Landroid/widget/FrameLayout;->onInitializeAccessibilityEvent(Landroid/view/accessibility/AccessibilityEvent;)V

    .line 2
    const-class v0, Landroid/widget/MediaController;

    invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Landroid/view/accessibility/AccessibilityEvent;->setClassName(Ljava/lang/CharSequence;)V

    return-void
.end method

.method public onInitializeAccessibilityNodeInfo(Landroid/view/accessibility/AccessibilityNodeInfo;)V
    .locals 1

    .line 1
    invoke-super {p0, p1}, Landroid/widget/FrameLayout;->onInitializeAccessibilityNodeInfo(Landroid/view/accessibility/AccessibilityNodeInfo;)V

    .line 2
    const-class v0, Landroid/widget/MediaController;

    invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Landroid/view/accessibility/AccessibilityNodeInfo;->setClassName(Ljava/lang/CharSequence;)V

    return-void
.end method

.method public onTouchEvent(Landroid/view/MotionEvent;)Z
    .locals 2

    .line 1
    invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

    move-result p1

    const/4 v0, 0x1

    if-eqz p1, :cond_2

    if-eq p1, v0, :cond_1

    const/4 v1, 0x3

    if-eq p1, v1, :cond_0

    goto :goto_0

    .line 2
    :cond_0
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/j;->a()V

    goto :goto_0

    :cond_1
    const/16 p1, 0xbb8

    .line 3
    invoke-virtual {p0, p1}, Lcom/estrongs/android/pop/esclasses/j;->a(I)V

    goto :goto_0

    :cond_2
    const/4 p1, 0x0

    .line 4
    invoke-virtual {p0, p1}, Lcom/estrongs/android/pop/esclasses/j;->a(I)V

    :goto_0
    return v0
.end method

.method public onTrackballEvent(Landroid/view/MotionEvent;)Z
    .locals 0

    const/16 p1, 0xbb8

    .line 1
    invoke-virtual {p0, p1}, Lcom/estrongs/android/pop/esclasses/j;->a(I)V

    const/4 p1, 0x0

    return p1
.end method

.method public setAnchorView(Landroid/view/View;)V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->c:Landroid/view/View;

    if-eqz v0, :cond_0

    .line 2
    iget-object v1, p0, Lcom/estrongs/android/pop/esclasses/j;->D:Landroid/view/View$OnLayoutChangeListener;

    invoke-virtual {v0, v1}, Landroid/view/View;->removeOnLayoutChangeListener(Landroid/view/View$OnLayoutChangeListener;)V

    .line 3
    :cond_0
    iput-object p1, p0, Lcom/estrongs/android/pop/esclasses/j;->c:Landroid/view/View;

    if-eqz p1, :cond_1

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->D:Landroid/view/View$OnLayoutChangeListener;

    invoke-virtual {p1, v0}, Landroid/view/View;->addOnLayoutChangeListener(Landroid/view/View$OnLayoutChangeListener;)V

    .line 5
    :cond_1
    new-instance p1, Landroid/widget/FrameLayout$LayoutParams;

    const/4 v0, -0x1

    invoke-direct {p1, v0, v0}, Landroid/widget/FrameLayout$LayoutParams;-><init>(II)V

    .line 6
    invoke-virtual {p0}, Landroid/widget/FrameLayout;->removeAllViews()V

    .line 7
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/j;->b()Landroid/view/View;

    move-result-object v0

    .line 8
    invoke-virtual {p0, v0, p1}, Landroid/widget/FrameLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    return-void
.end method

.method public setEnabled(Z)V
    .locals 4

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->u:Landroid/widget/ImageButton;

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {v0, p1}, Landroid/widget/ImageButton;->setEnabled(Z)V

    .line 3
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->v:Landroid/widget/ImageButton;

    if-eqz v0, :cond_1

    .line 4
    invoke-virtual {v0, p1}, Landroid/widget/ImageButton;->setEnabled(Z)V

    .line 5
    :cond_1
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->w:Landroid/widget/ImageButton;

    if-eqz v0, :cond_2

    .line 6
    invoke-virtual {v0, p1}, Landroid/widget/ImageButton;->setEnabled(Z)V

    .line 7
    :cond_2
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->x:Landroid/widget/ImageButton;

    const/4 v1, 0x1

    const/4 v2, 0x0

    if-eqz v0, :cond_4

    if-eqz p1, :cond_3

    .line 8
    iget-object v3, p0, Lcom/estrongs/android/pop/esclasses/j;->q:Landroid/view/View$OnClickListener;

    if-eqz v3, :cond_3

    const/4 v3, 0x1

    goto :goto_0

    :cond_3
    const/4 v3, 0x0

    :goto_0
    invoke-virtual {v0, v3}, Landroid/widget/ImageButton;->setEnabled(Z)V

    .line 9
    :cond_4
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->y:Landroid/widget/ImageButton;

    if-eqz v0, :cond_6

    if-eqz p1, :cond_5

    .line 10
    iget-object v3, p0, Lcom/estrongs/android/pop/esclasses/j;->r:Landroid/view/View$OnClickListener;

    if-eqz v3, :cond_5

    goto :goto_1

    :cond_5
    const/4 v1, 0x0

    :goto_1
    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setEnabled(Z)V

    .line 11
    :cond_6
    iget-object v0, p0, Lcom/estrongs/android/pop/esclasses/j;->i:Landroid/widget/ProgressBar;

    if-eqz v0, :cond_7

    .line 12
    invoke-virtual {v0, p1}, Landroid/widget/ProgressBar;->setEnabled(Z)V

    .line 13
    :cond_7
    invoke-direct {p0}, Lcom/estrongs/android/pop/esclasses/j;->c()V

    .line 14
    invoke-super {p0, p1}, Landroid/widget/FrameLayout;->setEnabled(Z)V

    return-void
.end method

.method public setMediaPlayer(Landroid/widget/MediaController$MediaPlayerControl;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/esclasses/j;->a:Landroid/widget/MediaController$MediaPlayerControl;

    .line 2
    invoke-direct {p0}, Lcom/estrongs/android/pop/esclasses/j;->j()V

    return-void
.end method
